package cn.tedu.medicalmanagementsystem.manager.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class AppointmentAddParam {
    @ApiModelProperty(value = "预约ID",required = true)
    private Long id;

    @ApiModelProperty(value ="用户ID",required = true)
    private Long userId;

    @ApiModelProperty(value ="陪诊员ID", required = true)
    private Long escortId;

    @ApiModelProperty(value ="服务类型ID",required = true)
    private Long serviceTypeId;

    @ApiModelProperty(value ="预约时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime appointmentTime;

    @ApiModelProperty(value ="结束时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

    @ApiModelProperty(value ="联系人姓名",required = true)
    private String contactName;

    @ApiModelProperty(value ="联系人电话",required = true)
    private String contactPhone;

    @ApiModelProperty("预约状态")
    private String status;

    @ApiModelProperty("支付状态")
    private String paymentStatus;

    @ApiModelProperty("总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
